package com.sun.sc.service;

import javax.servlet.http.HttpServletResponse;

public interface UserService {
    Integer register(HttpServletResponse response, String email, String password, String code);

    Boolean isRegistered(String email);

    String login(HttpServletResponse response, String email, String password);

    String getEmailByToken(String token);

}
